package com.qitmiaojie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qitmiaojie.pojo.Activity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qitmiaojie.pojo.dto.AdviceMsg;

import java.util.List;



public interface ActivityService extends IService<Activity> {

    /***
    * @description 活动插入
    * @param activity
    * @return void
    * @author
    * @date
    */
    void insert(Activity activity);
    /***
    * @description 活动的分页查询
    * @param currentPage
     * @param size
     * @param name
    * @return 活动的分页查询
    * @author
    * @date
    */
    IPage<Activity> selectByPage(Integer currentPage, Integer size, String name);
    /***
    * @description 活动通知
    * @return
    * @author
    * @date
    */
    List<AdviceMsg> getMsg();
}
